// Copyright (c) Microsoft Corporation. All rights reserved.

namespace PivotServerTools
{
    using System.Collections.Generic;
    using System.Web;

    public static class PivotHttpHandlers
    {
        static PivotHttpHandlers()
        {
            s_impl = new PivotHttpHandlersImpl();
        }

        public static string CollectionInfoHtml()
        {
            return s_impl.CollectionInfoHtml();
        }

        public static IEnumerable<string> CollectionSampleUrls()
        {
            return s_impl.CollectionSampleUrls();
        }

        public static void ServeCxml(HttpContext context)
        {
            s_impl.ServeCxml(context);
        }

        public static void ServeCxml(HttpContext context, Collection collection)
        {
            s_impl.ServeCxml(context, collection, null);
        }

        public static void ServeDzc(HttpContext context)
        {
            s_impl.ServeDzc(context);
        }

        public static void ServeImageTile(HttpContext context)
        {
            s_impl.ServeImageTile(context);
        }

        public static void ServeDzi(HttpContext context)
        {
            s_impl.ServeDzi(context);
        }

        public static void ServeDeepZoomImage(HttpContext context)
        {
            s_impl.ServeDeepZoomImage(context);
        }

        static readonly PivotHttpHandlersImpl s_impl;
    }
}
